﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Entitys.Inv
{
    /// <summary>
    /// 库存盘点
    /// </summary>
    public class Inv_qty
    {
        [Key]
        public int Qty_id { get; set; }    
        public string Qty_type { get; set; }
        public DateTime ? Qty_startdate { get; set; }
        public DateTime ? Qty_end { get; set; }
        public string Qty_code { get; set; }
        public string Qty_clerk { get; set; }
        public string Warehouse_code { get; set; }
        public string Warehouse_name { get; set; }

      
        public string Zone_code { get; set; }

  
        public string Zone_name { get; set; }

        public string Create_by { get; set; }
        public DateTime ? Create_time { get; set; }
        public string Update_by { get; set; }
        public DateTime ? Update_time { get; set; }
        public  char ? Del_flag { get; set; }

        public char ? qty_audit_status { get; set; }

        public string qty_audit_by { get; set; }
        public DateTime? qty_audit_time { get; set; }
        public string qty_audit_opinion { get; set; }

        //判断是否入库--0未入库 1已入库,用来在其他入库单显示订单--盘盈
        public char qty_store { get; set; }

        //判断是否出库--0未出库 1已出库,用来在其他出库单显示订单--盘亏
        public char qty_store_bhg { get; set; }

        /// <summary>
        /// 盘点是否正确修正
        /// </summary>
        public char proddti_correct { get; set; }

        // 导航属性：明细
        public ICollection<inv_proddti> Details { get; set; }
    }
}
